'use strict'

angular.module('consoleAngularUiApp')
  .controller('menuCtrl', ['$scope', function ($scope) {

      $scope.menuOptions = [{
        href: 'tentants',
        icon: 'glyphicon glyphicon-cloud',
        text: 'Tentants'
      }, {
        href: 'instances',
        icon: 'glyphicon glyphicon-hdd',
        text: 'Instances'
      }, {
        href: 'services',
        icon: 'glyphicon glyphicon-equalizer',
        text: 'Services'
      }, {
        icon: 'glyphicon glyphicon-phone',
        text: 'Endpoints',
        submenu: [{
          href: 'endpoints:monitor',
          icon: 'glyphicon glyphicon-record',
          text: 'Monitor'
        }, {
          icon: 'glyphicon glyphicon-record',
          text: 'Dynamic',
          submenu: [{
            href: 'endpoints:provision:status',
            icon: 'glyphicon glyphicon-record',
            text: 'Status'
          }]
        },{
          href: 'endpoints:phone',
          icon: 'glyphicon glyphicon-record',
          text: 'Phone',
          submenu: [{
            href: 'endpoints:phone:profiles',
            icon: 'glyphicon glyphicon-record',
            text: 'Profiles'
          }]
        }]
      }];

  }])